﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Automobile
{
    class Program
    {
        static void Main(string[] args)
        {
            Client client1=new Client("Ionescu",45);
            Client client2= new Client("Popescu",30);

            string nume;
            string culoare;
            string transmisie;
            string caracteristica;

            Console.WriteLine("Introduceti numele");
            nume = Console.ReadLine();

            Console.WriteLine("Introduceti culoarea");
            culoare=Console.ReadLine();

            Console.WriteLine("Introduceti transmisia");
            transmisie = Console.ReadLine();

            Console.WriteLine("Introduceti caracteristica");
            caracteristica = Console.ReadLine();


            CPool Pool= new CPool();
            Cars c=Pool.Exist(nume, culoare, transmisie, caracteristica);
            Pool.Add1(c);


            client1.addCar(nume, culoare, transmisie, caracteristica);
            Pool.Remove1(c);


        }
    }
}
